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

Commit

Permalink
fix(core): add missing exports
Browse files Browse the repository at this point in the history
  • Loading branch information
jordimarimon committed Aug 11, 2023
1 parent ed990d9 commit 6be9d42
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
3 changes: 1 addition & 2 deletions packages/core/src/analyser-diagnostic.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
import { getLinePosition } from './utils/get-location.js';
import ts from 'typescript';


Expand Down Expand Up @@ -53,7 +52,7 @@ export class AnalyserDiagnostic {
error = {
kind: DiagnosticErrorType.SEMANTIC,
file: node.getSourceFile(),
start: getLinePosition(node),
start: node.getStart(),
length: node.getWidth(),
category: ts.DiagnosticCategory.Error,
messageText: message,
Expand Down
1 change: 1 addition & 0 deletions packages/core/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,7 @@ export * from './nodes/type-parameter-node.js';
export * from './nodes/variable-node.js';

// UTILS
export * from './analyser-diagnostic.js';
export * from './analyser-options.js';
export * from './analyser-result.js';
export * from './analyser-system.js';
Expand Down

0 comments on commit 6be9d42

Please sign in to comment.