Mirror of https://github.com/roostorg/coop github.com/roostorg/coop
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

at main 12 lines 782 B view raw
1// Opt-in to various improvements to TS's built-in type definition for the JS 2// standard library. These add a bit more safety/functionality. The most 3// important is the `is-array` rule, which makes sure we don't end up with 4// `any`s accidentally introduced into our code through `Array.isArray` checks. 5// Note that we don't bother with the `json-parse` and `fetch` rules, since our 6// utility functions already handle those in a more-strict way. If more rules 7// are added in the future, though, we might wanna opt-in to them too. See 8// https://github.com/total-typescript/ts-reset 9import '@total-typescript/ts-reset/filter-boolean'; 10import '@total-typescript/ts-reset/array-includes'; 11import '@total-typescript/ts-reset/set-has'; 12import '@total-typescript/ts-reset/is-array';