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": {
|
"pnpm": {
|
||||||
"patchedDependencies": {
|
"patchedDependencies": {
|
||||||
"roughjs": "patches/roughjs.patch"
|
"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(),
|
setQuadrant1Text: vi.fn(),
|
||||||
setQuadrant2Text: vi.fn(),
|
setQuadrant2Text: vi.fn(),
|
||||||
setQuadrant3Text: 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(),
|
setOrientation: vi.fn(),
|
||||||
setDiagramTitle: vi.fn(),
|
setDiagramTitle: vi.fn(),
|
||||||
setXAxisTitle: vi.fn(),
|
setXAxisTitle: vi.fn(),
|
||||||
|
Reference in New Issue
Block a user