ERROR in /path/to/project/node_modules/@ragg/inline-attachment/src/inline-attachment.ts(107,9):
TS2722: Cannot invoke an object which is possibly 'undefined'.
ERROR in /path/to/project/node_modules/@ragg/inline-attachment/src/inline-attachment.ts(139,9):
TS2532: Object is possibly 'undefined'.
ERROR in /path/to/project/node_modules/@ragg/inline-attachment/src/inline-attachment.ts(139,9):
TS2684: The 'this' context of type '(() => boolean) | undefined' is not assignable to method's 'this' of type 'Function'.
Type 'undefined' is not assignable to type 'Function'.
ERROR in /path/to/project/node_modules/@ragg/inline-attachment/src/inline-attachment.ts(152,9):
TS2532: Object is possibly 'undefined'.
ERROR in /path/to/project/node_modules/@ragg/inline-attachment/src/inline-attachment.ts(152,9):
TS2684: The 'this' context of type '(() => void) | undefined' is not assignable to method's 'this' of type 'Function'.
Type 'undefined' is not assignable to type 'Function'.
ERROR in /path/to/project/node_modules/@ragg/inline-attachment/src/inline-attachment.ts(166,9):
TS2532: Object is possibly 'undefined'.
ERROR in /path/to/project/node_modules/@ragg/inline-attachment/src/inline-attachment.ts(166,9):
TS2684: The 'this' context of type '(() => boolean) | undefined' is not assignable to method's 'this' of type 'Function'.
Type 'undefined' is not assignable to type 'Function'.
ERROR in /path/to/project/node_modules/@ragg/inline-attachment/src/inline-attachment.ts(180,9):
TS2532: Object is possibly 'undefined'.
ERROR in /path/to/project/node_modules/@ragg/inline-attachment/src/inline-attachment.ts(180,9):
TS2684: The 'this' context of type '(() => boolean) | undefined' is not assignable to method's 'this' of type 'Function'.
Type 'undefined' is not assignable to type 'Function'.