feat: basic snippet data structure

This commit is contained in:
Spencer Gouw 2023-09-21 22:30:59 -05:00
parent ebea47cde8
commit 65572b4632

12
snippet.ts Normal file
View file

@ -0,0 +1,12 @@
export type LHS = string;
export interface RHS {
data: string;
info: {
cursorEnd: number;
};
}
export type Snippet = {
lhs: LHS;
rhs: RHS;
};