Skip to content
This repository has been archived by the owner on Jul 9, 2024. It is now read-only.

Commit

Permalink
fix(typescript): use modern module and resolution (#726)
Browse files Browse the repository at this point in the history
  • Loading branch information
coderbyheart authored Mar 18, 2024
1 parent eafb678 commit 47998b0
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion feature-runner/steps/device/provisionDevice.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { DeviceRegistrationState } from 'azure-iot-provisioning-service/dist/interfaces'
import { DeviceRegistrationState } from 'azure-iot-provisioning-service/dist/interfaces.js'
import { promises as fs } from 'fs'
import { connect } from 'mqtt'
import {
Expand Down
4 changes: 2 additions & 2 deletions tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,8 @@
"forceConsistentCasingInFileNames": true,
"noImplicitAny": true,
"outDir": "dist/",
"moduleResolution": "node",
"module": "ES2022",
"moduleResolution": "nodenext",
"module": "nodenext",
"allowSyntheticDefaultImports": true
}
}

0 comments on commit 47998b0

Please sign in to comment.