fix: ensure that ParseErrorFunction type alias is compile-time only

This commit is contained in:
Basti Ortiz 2022-10-12 01:14:09 +08:00
parent 4b31112bcb
commit 7391baae34
No known key found for this signature in database
GPG Key ID: 1402D5CB17F48E1B

View File

@ -8,7 +8,7 @@ import utils from './utils';
import { mermaidAPI } from './mermaidAPI';
import { addDetector } from './diagram-api/detectType';
import { isDetailedError } from './utils';
import { ParseErrorFunction } from './Diagram';
import type { ParseErrorFunction } from './Diagram';
/**
* ## init