Skip to content

Commit 3a6c46e

Browse files
committed
Use type assertion
1 parent 2122864 commit 3a6c46e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/test.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import * as msgpackr from '../index.js'
22
import chai from 'chai'
33
//import inspector from 'inspector'; inspector.open(9330, null, true); debugger
4-
import sampleData from './example4.json'
4+
import sampleData from './example4.json' assert {type: 'json'}
55
function tryRequire(module) {
66
try {
77
return require(module)

0 commit comments

Comments
 (0)