Skip to content

Commit

Permalink
use npm
Browse files Browse the repository at this point in the history
  • Loading branch information
ChrisShank committed Sep 13, 2024
1 parent e6acba1 commit d89426f
Show file tree
Hide file tree
Showing 5 changed files with 48 additions and 42 deletions.
7 changes: 0 additions & 7 deletions demo/index.html

This file was deleted.

45 changes: 45 additions & 0 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 1 addition & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,7 @@
],
"scripts": {
"build": "tsc && node --test",
"dev": "tsc -w & node --test --watch",
"demo": "pnpx http-server"
"dev": "tsc -w & node --test --watch"
},
"devDependencies": {
"@types/node": "^20.10.7",
Expand Down
31 changes: 0 additions & 31 deletions pnpm-lock.yaml

This file was deleted.

4 changes: 2 additions & 2 deletions src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -104,8 +104,8 @@ export interface DecodedRouteData<Params> extends EncodedRouteData<Params> {

const emptyRoute: DecodedRouteData<EmptyObject> = Object.freeze({
matched: false,
params: {},
search: {},
params: Object.freeze({}),
search: Object.freeze({}),
hash: '',
});

Expand Down

0 comments on commit d89426f

Please sign in to comment.