Skip to content

Commit

Permalink
Typescript Import error stomp-js#612 fix: stomp-js#612
Browse files Browse the repository at this point in the history
  • Loading branch information
steklopod committed Nov 8, 2023
1 parent cecb7d5 commit c278909
Show file tree
Hide file tree
Showing 8 changed files with 10 additions and 10 deletions.
2 changes: 1 addition & 1 deletion esm6/frame-impl.d.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { IFrame } from './i-frame.js';
import type { IFrame } from './i-frame.js';
import { StompHeaders } from './stomp-headers.js';
import { IRawFrameType } from './types.js';
/**
Expand Down
2 changes: 1 addition & 1 deletion esm6/i-message.d.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { IFrame } from './i-frame.js';
import type { IFrame } from './i-frame.js';
import { StompHeaders } from './stomp-headers.js';
/**
* Instance of Message will be passed to [subscription callback]{@link Client#subscribe}
Expand Down
4 changes: 2 additions & 2 deletions esm6/types.d.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { IFrame } from './i-frame.js';
import { IMessage } from './i-message.js';
import type { IFrame } from './i-frame.js';
import type { IMessage } from './i-message.js';
import { StompHeaders } from './stomp-headers.js';
import { Versions } from './versions.js';
/**
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@stomp/stompjs",
"version": "7.0.0",
"version": "7.0.1",
"description": "STOMP client for Javascript and Typescript",
"scripts": {
"clean": "rm -rf bundles esm6",
Expand Down
2 changes: 1 addition & 1 deletion src/frame-impl.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { BYTE } from './byte.js';
import { IFrame } from './i-frame.js';
import type { IFrame } from './i-frame.js';
import { StompHeaders } from './stomp-headers.js';
import { IRawFrameType } from './types.js';

Expand Down
2 changes: 1 addition & 1 deletion src/i-message.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { IFrame } from './i-frame.js';
import type { IFrame } from './i-frame.js';
import { StompHeaders } from './stomp-headers.js';

/**
Expand Down
2 changes: 1 addition & 1 deletion src/stomp-handler.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import { BYTE } from './byte.js';
import { Client } from './client.js';
import { FrameImpl } from './frame-impl.js';
import { IMessage } from './i-message.js';
import type { IMessage } from './i-message.js';
import { ITransaction } from './i-transaction.js';
import { Parser } from './parser.js';
import { StompHeaders } from './stomp-headers.js';
Expand Down
4 changes: 2 additions & 2 deletions src/types.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { IFrame } from './i-frame.js';
import { IMessage } from './i-message.js';
import type { IFrame } from './i-frame.js';
import type { IMessage } from './i-message.js';
import { StompHeaders } from './stomp-headers.js';
import { Versions } from './versions.js';

Expand Down

0 comments on commit c278909

Please sign in to comment.