Skip to content

Commit 2a00fb5

Browse files
Copilotstreamich
andcommitted
refactor: change Path imports to type imports
Co-authored-by: streamich <[email protected]>
1 parent 36d892b commit 2a00fb5

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

src/cbor/__tests__/shallow-read.genShallowRead.spec.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import {genShallowReader} from '../../msgpack/shallow-read';
22
import {CborEncoder} from '../CborEncoder';
33
import {CborDecoder} from '../CborDecoder';
4-
import {Path} from '@jsonjoy.com/json-pointer';
4+
import type {Path} from '@jsonjoy.com/json-pointer';
55
import {Writer} from '@jsonjoy.com/util/lib/buffers/Writer';
66

77
const assetShallowRead = (doc: unknown, path: Path): void => {

src/msgpack/__tests__/shallow-read.genShallowRead.spec.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import {genShallowReader} from '../shallow-read';
22
import {MsgPackEncoder} from '../MsgPackEncoder';
33
import {MsgPackDecoder} from '../MsgPackDecoder';
4-
import {Path} from '@jsonjoy.com/json-pointer';
4+
import type {Path} from '@jsonjoy.com/json-pointer';
55

66
const assetShallowRead = (doc: unknown, path: Path): void => {
77
const encoder = new MsgPackEncoder();

src/msgpack/shallow-read.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import {Path} from '@jsonjoy.com/json-pointer';
1+
import type {Path} from '@jsonjoy.com/json-pointer';
22
import {Codegen} from '@jsonjoy.com/util/lib/codegen/Codegen';
33
import type {MsgPackDecoder} from './MsgPackDecoder';
44

0 commit comments

Comments
 (0)