Skip to content
Open
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion src/type-extensions/function.ts
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,9 @@
}

try {
const result = target.apply(options?.self, args)
let result;

Check failure on line 106 in src/type-extensions/function.ts

View workflow job for this annotation

GitHub Actions / build (22)

Delete `;`

Check failure on line 106 in src/type-extensions/function.ts

View workflow job for this annotation

GitHub Actions / build (18)

Delete `;`

Check failure on line 106 in src/type-extensions/function.ts

View workflow job for this annotation

GitHub Actions / build (20)

Delete `;`
if (target.prototype) result = new (target as any)(...args);

Check failure on line 107 in src/type-extensions/function.ts

View workflow job for this annotation

GitHub Actions / build (22)

Delete `;`

Check failure on line 107 in src/type-extensions/function.ts

View workflow job for this annotation

GitHub Actions / build (22)

Expected { after 'if' condition

Check failure on line 107 in src/type-extensions/function.ts

View workflow job for this annotation

GitHub Actions / build (18)

Delete `;`

Check failure on line 107 in src/type-extensions/function.ts

View workflow job for this annotation

GitHub Actions / build (18)

Expected { after 'if' condition

Check failure on line 107 in src/type-extensions/function.ts

View workflow job for this annotation

GitHub Actions / build (20)

Delete `;`

Check failure on line 107 in src/type-extensions/function.ts

View workflow job for this annotation

GitHub Actions / build (20)

Expected { after 'if' condition
else result = target.apply(options?.self, args);

Check failure on line 108 in src/type-extensions/function.ts

View workflow job for this annotation

GitHub Actions / build (22)

Delete `;`

Check failure on line 108 in src/type-extensions/function.ts

View workflow job for this annotation

GitHub Actions / build (22)

Expected { after 'else'

Check failure on line 108 in src/type-extensions/function.ts

View workflow job for this annotation

GitHub Actions / build (18)

Delete `;`

Check failure on line 108 in src/type-extensions/function.ts

View workflow job for this annotation

GitHub Actions / build (18)

Expected { after 'else'

Check failure on line 108 in src/type-extensions/function.ts

View workflow job for this annotation

GitHub Actions / build (20)

Delete `;`

Check failure on line 108 in src/type-extensions/function.ts

View workflow job for this annotation

GitHub Actions / build (20)

Expected { after 'else'

if (result === undefined) {
return 0
Expand Down
Loading