Skip to content

Commit de7eea7

Browse files
João Miguel Marinho da CunhaJoão Miguel Marinho da Cunha
authored andcommitted
📦 Bundling typescript declarations
1 parent 65c67e7 commit de7eea7

File tree

6 files changed

+375
-7
lines changed

6 files changed

+375
-7
lines changed

lib/context.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import { createContext } from "react";
22

3-
interface IEditorContext {
3+
export interface IEditorContext {
44
getSelection: () => string;
55
insertIntoCursor: (
66
text: string,
File renamed without changes.

package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,7 @@
3232
"postcss": "^8.4.19",
3333
"tailwindcss": "^3.2.4",
3434
"typescript": "^4.6.4",
35-
"vite": "^3.2.3"
35+
"vite": "^3.2.3",
36+
"vite-plugin-dts": "^1.7.1"
3637
}
3738
}

0 commit comments

Comments
 (0)