mirror of
https://github.com/mermaid-js/mermaid.git
synced 2025-09-23 17:29:54 +02:00
Typescript
This commit is contained in:
2
.gitignore
vendored
2
.gitignore
vendored
@@ -26,3 +26,5 @@ cypress/snapshots/
|
||||
|
||||
# eslint --cache file
|
||||
.eslintcache
|
||||
.tsbuildinfo
|
||||
tsconfig.tsbuildinfo
|
||||
|
@@ -23,7 +23,7 @@
|
||||
"git graph"
|
||||
],
|
||||
"scripts": {
|
||||
"build:fast": "node .esbuild/esbuild.cjs",
|
||||
"build:fast": "rm -rf dist; node .esbuild/esbuild.cjs; tsc --emitDeclarationOnly",
|
||||
"build:dev": "webpack --mode development --progress --color",
|
||||
"build:prod": "webpack --mode production --progress --color",
|
||||
"build": "concurrently \"yarn build:dev\" \"yarn build:prod\"",
|
||||
|
@@ -1,3 +1,4 @@
|
||||
// @ts-nocheck
|
||||
import { select, selectAll } from 'd3';
|
||||
import svgDraw, { drawText, fixLifeLineHeights } from './svgDraw';
|
||||
import { log } from '../../logger';
|
@@ -1,3 +1,4 @@
|
||||
// @ts-nocheck
|
||||
import { select } from 'd3';
|
||||
import svgDraw from './svgDraw';
|
||||
import { getConfig } from '../../config';
|
Reference in New Issue
Block a user