mirror of
https://github.com/apotdevin/thunderhub.git
synced 2025-02-22 14:22:33 +01:00
* chore: 🔧 strict enable wip * Improve typings, add type dependencies (#97) We improve the TypeScript situation by enabling `noImplicitAny`. This leads to a bunch of errors, as expected. We fix some of these by installing the correct types, and some are fixed manually by an educated guess. There are still a lot left, and these seem to be a big mix of lacking types for the `ln-service` dependency and potential bugs. * Strict null (#100) * chore: 🔧 enable strict-null * chore: 🔧 more checks * chore: 🔧 some fixes * chore: 🔧 more types * chore: 🔧 more types * chore: 🔧 more types * chore: 🔧 more types * chore: 🔧 more types * chore: 🔧 more types * chore: 🔧 more types * chore: 🔧 enable strict * fix: 🐛 input * fix: 🐛 forward report * fix: 🐛 chat sending * fix: 🐛 chat bubble input Co-authored-by: Torkel Rogstad <torkel@rogstad.io>
22 lines
706 B
TypeScript
22 lines
706 B
TypeScript
declare module '*.png';
|
|
declare module '*.jpg';
|
|
declare module '*.jpeg';
|
|
declare module '*.svg';
|
|
declare module '*.gif';
|
|
|
|
/**
|
|
* ln-service does not have proper types. This is slightly
|
|
* problematic, as this leads to types being `any` **a ton**
|
|
* of places.
|
|
*
|
|
* Here's an issue tracking this: https://github.com/alexbosworth/ln-service/issues/112
|
|
*
|
|
* It seems like the library is generated from Proto files.
|
|
* Could it be an idea to try and generate TypeScript declarations
|
|
* from those files?
|
|
*/
|
|
declare module 'ln-service';
|
|
declare module '@alexbosworth/request';
|
|
declare module 'balanceofsatoshis/request';
|
|
declare module 'balanceofsatoshis/swaps';
|
|
declare module 'balanceofsatoshis/balances';
|