Skip to content

Commit

Permalink
src/global.d.ts をgit ignoreから除外する
Browse files Browse the repository at this point in the history
  • Loading branch information
yuiseki committed Oct 14, 2024
1 parent 8ccb618 commit e03c1b7
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 0 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ tmp
!tmp/sample
src/**/*.d.ts
src/**/*.d.ts.map
!src/global.d.ts

# dependencies
/node_modules
Expand Down
9 changes: 9 additions & 0 deletions src/global.d.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
declare module "*.wasm" {
const value: any;
export default value;
}

declare module '*?url' {
const src: string
export default src
}

0 comments on commit e03c1b7

Please sign in to comment.