mirror of
https://github.com/mermaid-js/mermaid.git
synced 2025-08-15 06:19:24 +02:00
chore: Fix types
This commit is contained in:
@@ -137,6 +137,10 @@
|
||||
"pnpm": {
|
||||
"patchedDependencies": {
|
||||
"roughjs": "patches/roughjs.patch"
|
||||
}
|
||||
},
|
||||
"onlyBuiltDependencies": [
|
||||
"cypress",
|
||||
"esbuild"
|
||||
]
|
||||
}
|
||||
}
|
||||
|
@@ -9,7 +9,7 @@ const parserFnConstructor = (str: string) => {
|
||||
};
|
||||
};
|
||||
|
||||
const mockDB: Record<string, Mock<any, any>> = {
|
||||
const mockDB: Record<string, Mock<any>> = {
|
||||
setQuadrant1Text: vi.fn(),
|
||||
setQuadrant2Text: vi.fn(),
|
||||
setQuadrant3Text: vi.fn(),
|
||||
|
@@ -9,7 +9,7 @@ const parserFnConstructor = (str: string) => {
|
||||
};
|
||||
};
|
||||
|
||||
const mockDB: Record<string, Mock<any, any>> = {
|
||||
const mockDB: Record<string, Mock<any>> = {
|
||||
setOrientation: vi.fn(),
|
||||
setDiagramTitle: vi.fn(),
|
||||
setXAxisTitle: vi.fn(),
|
||||
|
Reference in New Issue
Block a user