You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fix: explicitly declare void as the return type for functions which return nothing - to allow our package to work with typescript's strict:true option (#253)
This PR adds explicit `void` return types for functions that left them off.
Leaving them off causes problems when consuming `@fastly/js-compute` from a TypeScript project that has `strict: true` specified in `tsconfig.json`, with errors such as the following:
```
TS7010: 'log', which lacks return-type annotation, implicitly has an 'any' return type.
```
Co-authored-by: Jake Champion <[email protected]>
0 commit comments