-
-
Save brunosabot/bd30f8a6c30d230c3e7a8dc12789f1d6 to your computer and use it in GitHub Desktop.
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
interface IPosition { | |
line: number; | |
column: number; | |
offset: number; | |
} | |
interface IAST { | |
children?: IAST[]; | |
depth?: number; | |
meta?: string | null; | |
lang?: string; | |
type: string; | |
value?: string; | |
name?: string; | |
attributes?: IAST[]; | |
position?: { | |
start: IPosition; | |
end: IPosition; | |
}; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment