Skip to content

Commit 290ef42

Browse files
authored
fix: export lumigo.init real type (#251)
1 parent 83aa7d5 commit 290ef42

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
"description": "Lumigo wrapper to trace distributed architecture",
55
"main": "dist/src/distro.js",
66
"private": false,
7-
"types": "dist/src/bootstrap.d.ts",
7+
"types": "dist/src/distro.js",
88
"scripts": {
99
"build": "rm -rf dist *.tgz && tsc --build --force && tracer=\"$(npm pack)\" && mv \"$tracer\" distro.tgz && cp distro.tgz wrapper.tgz",
1010
"prepublishOnly": "npm run prettier:fix && npm run lint && npm run test:unit",

src/distro.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@
1212
*/
1313
import { LUMIGO_LOGGING_NAMESPACE } from './constants';
1414
import { minMajor, maxMajor } from './supportedVersions.json';
15+
export type { LumigoSdkInitialization } from './bootstrap';
1516

1617
export const init = (() => {
1718
const version = process.version;

0 commit comments

Comments
 (0)