Skip to content

Commit e264005

Browse files
committed
fix ts deprecated syntax
1 parent 8ae51c9 commit e264005

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

src/Transloadit.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ import InconsistentResponseError from './InconsistentResponseError.js'
2020
import PaginationStream from './PaginationStream.js'
2121
import PollingTimeoutError from './PollingTimeoutError.js'
2222
import { TransloaditErrorResponseBody, ApiError } from './ApiError.js'
23-
import packageJson from '../package.json' assert { type: 'json' }
23+
import packageJson from '../package.json' with { type: 'json' }
2424
import { sendTusRequest, Stream } from './tus.js'
2525
import { AssemblyStatus } from './alphalib/types/assemblyStatus.js'
2626
import type {

test/unit/test-transloadit-client.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ import { PassThrough, Readable } from 'stream'
22
import FormData from 'form-data'
33
import got, { CancelableRequest } from 'got'
44

5-
import packageJson from '../../package.json' assert { type: 'json' }
5+
import packageJson from '../../package.json' with { type: 'json' }
66
import * as tus from '../../src/tus.js'
77
import { Transloadit } from '../../src/Transloadit.js'
88

0 commit comments

Comments
 (0)