Skip to content

Commit b7c18f4

Browse files
authored
refactor: use TS5.3 syntax for json import (#998)
Signed-off-by: Jan Kowalleck <[email protected]>
1 parent d6197b3 commit b7c18f4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/spdx.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ Copyright (c) OWASP Foundation. All Rights Reserved.
2020
import * as spdxExpressionParse from 'spdx-expression-parse'
2121

2222
/* @ts-expect-error: TS6059 -- this works as long as the file/path is available in dist-package. */
23-
import { enum as _spdxSpecEnum } from '../res/schema/spdx.SNAPSHOT.schema.json' assert {type: 'json'}
23+
import { enum as _spdxSpecEnum } from '../res/schema/spdx.SNAPSHOT.schema.json' with { type: 'json' }
2424

2525
/**
2626
* One of the known SPDX licence identifiers.

0 commit comments

Comments
 (0)