├── .changeset ├── README.md └── config.json ├── .github └── workflows │ ├── main.yml │ └── publish.yml ├── .gitignore ├── .npmignore ├── CHANGELOG.md ├── LICENSE ├── og-image.png ├── package.json ├── pnpm-lock.yaml ├── readme.md ├── scripts ├── build.ts └── lint.ts ├── src ├── entrypoints │ ├── array-includes.d.ts │ ├── array-index-of.d.ts │ ├── dom.d.ts │ ├── fetch.d.ts │ ├── filter-boolean.d.ts │ ├── is-array.d.ts │ ├── json-parse.d.ts │ ├── map-constructor.d.ts │ ├── map-has.d.ts │ ├── promise-catch.d.ts │ ├── recommended.d.ts │ ├── set-has.d.ts │ ├── storage.d.ts │ └── utils.d.ts └── tests │ ├── array-includes.ts │ ├── array-index-of.ts │ ├── fetch.ts │ ├── filter-boolean.ts │ ├── is-array.ts │ ├── json-parse.ts │ ├── map-constructor.ts │ ├── map-has.ts │ ├── promise-catch.ts │ ├── set-has.ts │ ├── storage.ts │ └── utils.ts ├── tsconfig.json └── turbo.json /.changeset/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mattpocock/ts-reset/HEAD/.changeset/README.md -------------------------------------------------------------------------------- /.changeset/config.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mattpocock/ts-reset/HEAD/.changeset/config.json -------------------------------------------------------------------------------- /.github/workflows/main.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mattpocock/ts-reset/HEAD/.github/workflows/main.yml -------------------------------------------------------------------------------- /.github/workflows/publish.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mattpocock/ts-reset/HEAD/.github/workflows/publish.yml -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | node_modules 2 | dist 3 | .turbo -------------------------------------------------------------------------------- /.npmignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mattpocock/ts-reset/HEAD/.npmignore -------------------------------------------------------------------------------- /CHANGELOG.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mattpocock/ts-reset/HEAD/CHANGELOG.md -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mattpocock/ts-reset/HEAD/LICENSE -------------------------------------------------------------------------------- /og-image.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mattpocock/ts-reset/HEAD/og-image.png -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mattpocock/ts-reset/HEAD/package.json -------------------------------------------------------------------------------- /pnpm-lock.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mattpocock/ts-reset/HEAD/pnpm-lock.yaml -------------------------------------------------------------------------------- /readme.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mattpocock/ts-reset/HEAD/readme.md -------------------------------------------------------------------------------- /scripts/build.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mattpocock/ts-reset/HEAD/scripts/build.ts -------------------------------------------------------------------------------- /scripts/lint.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mattpocock/ts-reset/HEAD/scripts/lint.ts -------------------------------------------------------------------------------- /src/entrypoints/array-includes.d.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mattpocock/ts-reset/HEAD/src/entrypoints/array-includes.d.ts -------------------------------------------------------------------------------- /src/entrypoints/array-index-of.d.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mattpocock/ts-reset/HEAD/src/entrypoints/array-index-of.d.ts -------------------------------------------------------------------------------- /src/entrypoints/dom.d.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mattpocock/ts-reset/HEAD/src/entrypoints/dom.d.ts -------------------------------------------------------------------------------- /src/entrypoints/fetch.d.ts: -------------------------------------------------------------------------------- 1 | interface Body { 2 | json(): Promise; 3 | } 4 | -------------------------------------------------------------------------------- /src/entrypoints/filter-boolean.d.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mattpocock/ts-reset/HEAD/src/entrypoints/filter-boolean.d.ts -------------------------------------------------------------------------------- /src/entrypoints/is-array.d.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mattpocock/ts-reset/HEAD/src/entrypoints/is-array.d.ts -------------------------------------------------------------------------------- /src/entrypoints/json-parse.d.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mattpocock/ts-reset/HEAD/src/entrypoints/json-parse.d.ts -------------------------------------------------------------------------------- /src/entrypoints/map-constructor.d.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mattpocock/ts-reset/HEAD/src/entrypoints/map-constructor.d.ts -------------------------------------------------------------------------------- /src/entrypoints/map-has.d.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mattpocock/ts-reset/HEAD/src/entrypoints/map-has.d.ts -------------------------------------------------------------------------------- /src/entrypoints/promise-catch.d.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mattpocock/ts-reset/HEAD/src/entrypoints/promise-catch.d.ts -------------------------------------------------------------------------------- /src/entrypoints/recommended.d.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mattpocock/ts-reset/HEAD/src/entrypoints/recommended.d.ts -------------------------------------------------------------------------------- /src/entrypoints/set-has.d.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mattpocock/ts-reset/HEAD/src/entrypoints/set-has.d.ts -------------------------------------------------------------------------------- /src/entrypoints/storage.d.ts: -------------------------------------------------------------------------------- 1 | interface Storage { 2 | [name: string & {}]: unknown; 3 | } 4 | -------------------------------------------------------------------------------- /src/entrypoints/utils.d.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mattpocock/ts-reset/HEAD/src/entrypoints/utils.d.ts -------------------------------------------------------------------------------- /src/tests/array-includes.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mattpocock/ts-reset/HEAD/src/tests/array-includes.ts -------------------------------------------------------------------------------- /src/tests/array-index-of.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mattpocock/ts-reset/HEAD/src/tests/array-index-of.ts -------------------------------------------------------------------------------- /src/tests/fetch.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mattpocock/ts-reset/HEAD/src/tests/fetch.ts -------------------------------------------------------------------------------- /src/tests/filter-boolean.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mattpocock/ts-reset/HEAD/src/tests/filter-boolean.ts -------------------------------------------------------------------------------- /src/tests/is-array.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mattpocock/ts-reset/HEAD/src/tests/is-array.ts -------------------------------------------------------------------------------- /src/tests/json-parse.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mattpocock/ts-reset/HEAD/src/tests/json-parse.ts -------------------------------------------------------------------------------- /src/tests/map-constructor.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mattpocock/ts-reset/HEAD/src/tests/map-constructor.ts -------------------------------------------------------------------------------- /src/tests/map-has.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mattpocock/ts-reset/HEAD/src/tests/map-has.ts -------------------------------------------------------------------------------- /src/tests/promise-catch.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mattpocock/ts-reset/HEAD/src/tests/promise-catch.ts -------------------------------------------------------------------------------- /src/tests/set-has.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mattpocock/ts-reset/HEAD/src/tests/set-has.ts -------------------------------------------------------------------------------- /src/tests/storage.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mattpocock/ts-reset/HEAD/src/tests/storage.ts -------------------------------------------------------------------------------- /src/tests/utils.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mattpocock/ts-reset/HEAD/src/tests/utils.ts -------------------------------------------------------------------------------- /tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mattpocock/ts-reset/HEAD/tsconfig.json -------------------------------------------------------------------------------- /turbo.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mattpocock/ts-reset/HEAD/turbo.json --------------------------------------------------------------------------------