Skip to content

Commit 7754043

Browse files
committed
Fix: Remove 'as const'
1 parent 1edf095 commit 7754043

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/createDts.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ export const createDtsSnapshot = (
2020
const data = toml.parse(text)
2121

2222
dts = `
23-
declare const data = ${JSON.stringify(data)} as const
23+
declare const data = ${JSON.stringify(data)}
2424
export default data
2525
`
2626
} catch (e) {

0 commit comments

Comments
 (0)