Skip to content

Commit c892248

Browse files
committed
removing .js extension from import types
1 parent c8cc1a5 commit c892248

5 files changed

Lines changed: 5 additions & 5 deletions

src/slang-comments/handlers/handle-contract-definition-comments.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ import { getNextNonSpaceNonCommentCharacter } from '../../slang-utils/backward-c
44
import addHubNodeFirstComment from './add-hub-node-first-comment.js';
55
import addHubNodeLastComment from './add-hub-node-last-comment.js';
66

7-
import type { HandlerParams } from './types.js';
7+
import type { HandlerParams } from './types';
88

99
const { addLeadingComment, addTrailingComment } = util;
1010

src/slang-comments/handlers/handle-else-branch-comments.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ import { NonterminalKind } from '@nomicfoundation/slang/kinds/index.js';
22
import { util } from 'prettier';
33
import addHubNodeFirstComment from './add-hub-node-first-comment.js';
44

5-
import type { HandlerParams } from './types.js';
5+
import type { HandlerParams } from './types';
66

77
const { addLeadingComment } = util;
88

src/slang-comments/handlers/handle-if-statement-comments.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ import { getNextNonSpaceNonCommentCharacter } from '../../slang-utils/backward-c
44
import addHubNodeFirstComment from './add-hub-node-first-comment.js';
55
import addHubNodeLastComment from './add-hub-node-last-comment.js';
66

7-
import type { HandlerParams } from './types.js';
7+
import type { HandlerParams } from './types';
88

99
const { addLeadingComment, addTrailingComment } = util;
1010

src/slang-comments/handlers/handle-parameters-declaration-comments.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ import { NonterminalKind } from '@nomicfoundation/slang/kinds/index.js';
22
import addHubNodeFirstComment from './add-hub-node-first-comment.js';
33
import addHubNodeLastComment from './add-hub-node-last-comment.js';
44

5-
import type { HandlerParams } from './types.js';
5+
import type { HandlerParams } from './types';
66

77
export default function handleBlockComments({
88
precedingNode,

src/slang-comments/handlers/handle-while-statement-comments.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ import { util } from 'prettier';
33
import { getNextNonSpaceNonCommentCharacter } from '../../slang-utils/backward-compatibility.js';
44
import addHubNodeFirstComment from './add-hub-node-first-comment.js';
55

6-
import type { HandlerParams } from './types.js';
6+
import type { HandlerParams } from './types';
77

88
const { addLeadingComment, addTrailingComment } = util;
99

0 commit comments

Comments
 (0)