mirror of
https://github.com/ianstormtaylor/slate.git
synced 2025-08-05 23:07:27 +02:00
Added 'include' parameter to tsconfig to tell the compiler to only look inside the src directory
18 lines
234 B
TypeScript
18 lines
234 B
TypeScript
/** @jsx jsx */
|
|
import { jsx } from 'slate-hyperscript'
|
|
|
|
export const input = (
|
|
<fragment>
|
|
<element>word</element>
|
|
</fragment>
|
|
)
|
|
export const output = [
|
|
{
|
|
children: [
|
|
{
|
|
text: 'word',
|
|
},
|
|
],
|
|
},
|
|
]
|