-
-
Notifications
You must be signed in to change notification settings - Fork 6.7k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix ts-ignore errors refactored large functions to use helpers
- Loading branch information
Austin Fulbright
authored and
Austin Fulbright
committed
Aug 8, 2024
1 parent
8fe0ed1
commit 00603e7
Showing
9 changed files
with
1,040 additions
and
905 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,13 @@ | ||
// @ts-ignore: JISON doesn't support types | ||
import { parser } from './gitGraphParser.js'; | ||
import gitGraphDb from './gitGraphAst.js'; | ||
import { db } from './gitGraphAst.js'; | ||
import gitGraphRenderer from './gitGraphRenderer.js'; | ||
import gitGraphStyles from './styles.js'; | ||
import type { DiagramDefinition } from '../../diagram-api/types.js'; | ||
|
||
export const diagram: DiagramDefinition = { | ||
parser: parser, | ||
db: gitGraphDb, | ||
db: db, | ||
renderer: gitGraphRenderer, | ||
styles: gitGraphStyles, | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.