mirror of
https://github.com/konvajs/konva.git
synced 2025-11-24 08:46:44 +08:00
refactor: enable typescript option verbatimModuleSyntax
This commit is contained in:
@@ -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';
|
||||
|
||||
|
||||
@@ -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 () {
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
import { assert } from 'chai';
|
||||
import { Shape } from '../../src/Shape.ts';
|
||||
import type { Shape } from '../../src/Shape.ts';
|
||||
|
||||
import {
|
||||
addStage,
|
||||
|
||||
@@ -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';
|
||||
|
||||
|
||||
@@ -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 () {
|
||||
|
||||
Reference in New Issue
Block a user