Skip to content
This repository has been archived by the owner on Feb 22, 2023. It is now read-only.

Commit

Permalink
Suppress TS warning about require
Browse files Browse the repository at this point in the history
  • Loading branch information
sarayourfriend committed Feb 21, 2022
1 parent 3183865 commit 030d9fc
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
1 change: 1 addition & 0 deletions .eslintrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,7 @@ module.exports = {
],
'unicorn/filename-case': ['error', { case: 'kebabCase' }],
'@typescript-eslint/ban-ts-comment': ['warn'],
'@typescript-eslint/no-var-requires': ['warn'],
},
settings: {
'vue-i18n': {
Expand Down
5 changes: 5 additions & 0 deletions typings/openverse/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,3 +7,8 @@ declare module '*.svg!inline' {
const SVG: string
export default SVG
}

declare module '*.png' {
const PNG: string
export default PNG
}

0 comments on commit 030d9fc

Please sign in to comment.