Skip to content

Commit

Permalink
TypeScript: convert HistoryProvider (#12674)
Browse files Browse the repository at this point in the history
* Start conversion of history provider.

* Type reducer

* Type usePreventWindowUnload

* Ignore design-system for now

* Lint fix

* Fix import

* References

* References

* Start typing design-system keyboard utils

* lint

* Config update

* Fix includes

* More types.

* Use a regular constant instead of createRef

* unknown to void

* Try

* Add reference

* Try

* Revert

* Revert complete

* Fix design-system dist-types output

* Index back to .js

* Some PR feedback

* More PR feedback

* More PR feedback

* Use enum

* Split utils into separate file.

* Revert

* ts to js

* Fix import

* Lint

* Update useBatchingCallback

* Replace numbers

Co-authored-by: Pascal Birchler <[email protected]>
  • Loading branch information
miina and swissspidy authored Nov 23, 2022
1 parent 298bcdc commit d01beaa
Show file tree
Hide file tree
Showing 24 changed files with 854 additions and 612 deletions.
6 changes: 3 additions & 3 deletions packages/design-system/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,13 +26,13 @@
},
"customExports": {
".": {
"default": "./src/index.ts"
"default": "./src/index.js"
}
},
"main": "dist/index.js",
"module": "dist-module/index.js",
"types": "dist-types/index.d.ts",
"source": "src/index.ts",
"types": "dist-types/types.d.ts",
"source": "src/index.js",
"publishConfig": {
"access": "public"
},
Expand Down
Loading

0 comments on commit d01beaa

Please sign in to comment.