1
0
mirror of https://github.com/ianstormtaylor/slate.git synced 2025-08-18 05:01:17 +02:00

using js-to-ts converter on JSX. (#3906)

Added 'include' parameter to tsconfig to tell the compiler to only look inside the src directory
This commit is contained in:
Isaac Schultz
2021-03-31 13:48:09 -07:00
committed by GitHub
parent a95ec9249d
commit 2a9ceee03c
30 changed files with 1 additions and 0 deletions

View File

@@ -0,0 +1,19 @@
/** @jsx jsx */
import { jsx } from 'slate-hyperscript'
export const input = (
<element>
<element>word</element>
</element>
)
export const output = {
children: [
{
children: [
{
text: 'word',
},
],
},
],
}