refactor: enable typescript option verbatimModuleSyntax

This commit is contained in:
Nathan Muir
2025-08-20 11:27:20 +12:00
parent 0568cfc7c9
commit 9aac5b4ebf
58 changed files with 173 additions and 128 deletions

View File

@@ -1,5 +1,5 @@
import { assert } from 'chai';
import { Line } from '../../src/shapes/Line.ts';
import type { Line } from '../../src/shapes/Line.ts';
import { addStage, Konva, cloneAndCompareLayer } from './test-utils.ts';

View File

@@ -1,5 +1,5 @@
import { assert } from 'chai';
import { Shape } from '../../src/Shape.js';
import type { Shape } from '../../src/Shape.js';
import { addStage, Konva, compareLayers, isNode } from './test-utils.ts';
describe('Container', function () {

View File

@@ -1,5 +1,5 @@
import { assert } from 'chai';
import { Shape } from '../../src/Shape.ts';
import type { Shape } from '../../src/Shape.ts';
import {
addStage,

View File

@@ -1,5 +1,5 @@
import { assert } from 'chai';
import { Transformer } from '../../src/shapes/Transformer.ts';
import type { Transformer } from '../../src/shapes/Transformer.ts';
import type { Rect } from '../../src/shapes/Rect.ts';
import type { Shape } from '../../src/Shape.ts';

View File

@@ -9,8 +9,8 @@ Konva.enableTrace = true;
Konva.showWarnings = true;
import { imagediff } from './imagediff.ts';
import { Layer } from '../../src/Layer.ts';
import { Stage } from '../../src/Stage.ts';
import type { Layer } from '../../src/Layer.ts';
import type { Stage } from '../../src/Stage.ts';
// reset some data
beforeEach(function () {