mirror of
https://github.com/ianstormtaylor/slate.git
synced 2025-08-05 14:57:25 +02:00
Added 'include' parameter to tsconfig to tell the compiler to only look inside the src directory
14 lines
191 B
TypeScript
14 lines
191 B
TypeScript
/** @jsx jsx */
|
|
import { jsx } from 'slate-hyperscript'
|
|
|
|
export const input = (
|
|
<text b>
|
|
<text a>word</text>
|
|
</text>
|
|
)
|
|
export const output = {
|
|
text: 'word',
|
|
a: true,
|
|
b: true,
|
|
}
|