mirror of
https://github.com/webstudio-is/webstudio.git
synced 2026-11-08 13:05:08 +09:00
types
This commit is contained in:
1 parent
b75de41ed5
commit
12ef705fc8
2 files changed
+2
-8
No files matched your search
@@ -11,7 +11,7 @@ import { useLexicalComposerContext } from "@lexical/react/LexicalComposerContext
|
||||
import { useSubscribe } from "@webstudio-is/sdk";
|
||||
import { primitives } from "../../canvas-components";
|
||||
|
||||
const INSERT_INSTANCE_COMMAND: LexicalCommand<void> = createCommand();
|
||||
const INSERT_INSTANCE_COMMAND: LexicalCommand<Payload> = createCommand();
|
||||
|
||||
type Payload = {
|
||||
component: keyof typeof primitives;
|
||||
|
||||
+1
-7
@@ -1,11 +1,5 @@
|
||||
{
|
||||
"include": [
|
||||
"remix.env.d.ts",
|
||||
"**/*.ts",
|
||||
"**/*.tsx",
|
||||
"app/shared/text-editor/text-editor.js",
|
||||
"app/shared/text-editor/plugins/test.js"
|
||||
],
|
||||
"include": ["remix.env.d.ts", "**/*.ts", "**/*.tsx"],
|
||||
"compilerOptions": {
|
||||
"lib": ["DOM", "DOM.Iterable", "ES2019"],
|
||||
"isolatedModules": true,
|
||||
|
||||
Reference in new issue
Block a user