Refactor WeechatConnection, fix type annotations #26
Annotations
9 errors
Run linter:
src/lib/weechat/color-formatter.tsx#L9
Unexpected any. Specify a different type
|
Run linter
Process completed with exit code 1.
|
Run tsc:
src/lib/helpers/push-notifications.ts#L33
'Constants.expoConfig' is possibly 'null'.
|
Run tsc:
src/lib/helpers/push-notifications.ts#L33
'Constants.expoConfig.extra' is possibly 'undefined'.
|
Run tsc:
src/lib/weechat/connection.ts#L85
Expected 2 arguments, but got 1.
|
Run tsc:
src/usecase/App.tsx#L113
'currentBuffer' is possibly 'null'.
|
Run tsc:
src/usecase/App.tsx#L209
Argument of type 'string | null' is not assignable to parameter of type 'string'.
|
Run tsc
Process completed with exit code 2.
|
Run prettier
Process completed with exit code 1.
|