Skip to content

Commit

Permalink
Fix: Remove 'as const'
Browse files Browse the repository at this point in the history
  • Loading branch information
sapphi-red committed Dec 17, 2020
1 parent 1edf095 commit 7754043
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/createDts.ts
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ export const createDtsSnapshot = (
const data = toml.parse(text)

dts = `
declare const data = ${JSON.stringify(data)} as const
declare const data = ${JSON.stringify(data)}
export default data
`
} catch (e) {
Expand Down

0 comments on commit 7754043

Please sign in to comment.