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(types): fix @netlify/headers-parser types
These types were very weak, containing plentiful `any`s, both explicit and implicit, as
well as some incorrect inferred types.
* chore(tsconfig): simplify tsconfig strict config
We should be opting *into* strict mode and only opting *out* of some flags incrementally
while we fix errors.
This commit:
- flips the global `strict` on
- removes values being set to the default via the above
- stops disabling flags that obscured no errors (or very few, which I then fixed)
- moves a few flag disablings to the specific packages that require it
- explictly configures strict flags for already rather strict packages
* fix(types): mark netlify.toml [[headers]].values required
* style: add empty line after imports
* refactor: improve variable name
* docs: add inline comment explain funky type
* refactor: remove incorrect extraneous property from type
* fix(parseAllHeaders)!: mark `minimal` as required
All callers already pass in a non-nil `boolean`, so this is only technically breaking.
* fix(types)!: increase strictness of optional types
* fix(types): add missing PollingStrategy.name type
* feat(types): export Category, PollingStrategy
0 commit comments