UNPKG
@stencila/schema
Version:
latest (1.18.0)
1.18.0
1.17.0
1.16.1
1.16.0
1.15.0
1.14.0
1.13.0
1.12.0
1.11.4
1.11.3
1.11.2
1.11.1
1.11.0
1.10.1
1.10.0
1.9.1
1.9.0
1.8.1
1.8.0
1.7.3
1.7.2
1.7.1
1.7.0
1.6.1
1.6.0
1.5.3
1.5.2
1.5.1
1.5.0
1.4.3
1.4.2
1.4.1
1.4.0
1.3.1
1.3.0
1.2.3
1.2.2
1.2.1
1.2.0
1.1.5
1.1.4
1.1.3
1.1.2
1.1.1
1.1.0
1.0.0
0.47.2
0.47.1
0.47.0
0.46.5
0.46.4
0.46.3
0.46.2
0.46.0
0.45.1
0.45.0
0.44.2
0.44.1
0.44.0
0.43.3
0.43.2
0.43.1
0.43.0
0.42.1
0.42.0
0.41.2
0.41.1
0.41.0
0.40.0
0.39.0
0.38.0
0.37.3
0.37.2
0.37.1
0.37.0
0.36.0
0.35.0
0.34.0
0.33.0
0.32.4
0.32.3
0.32.2
0.32.1
0.32.0
0.31.1
0.31.0
0.30.5
0.30.4
0.30.3
0.30.2
0.30.1
0.30.0
0.29.0
0.28.0
0.27.0
0.26.0
0.25.0
0.24.1
0.24.0
0.23.0
0.22.1
0.22.0
0.21.0
0.20.2
0.20.1
0.20.0
0.19.0
0.18.0
0.17.0
0.16.3
0.16.2
0.16.1
0.16.0
0.15.0
0.14.2
0.14.1
0.14.0
0.13.1
0.13.0
0.12.2
0.12.1
0.12.0
0.11.0
0.10.1
0.10.0
0.9.7
0.9.6
0.9.5
0.9.4
0.9.3
0.9.2
0.9.1
0.9.0
0.8.0
0.7.0
0.6.0
0.5.0
0.4.0
0.3.0
0.2.4
0.2.3
0.2.2
0.2.1
0.2.0
0.1.3
0.1.2
0.1.1
0.1.0
Stencila schema and other specifications
stencila.github.io/schema
stencila/schema
@stencila/schema
/
dist
/
util
/
node-type.d.ts
7 lines
(6 loc)
•
186 B
TypeScript
View Raw
1
2
3
4
5
6
7
import
{
Node
}
from
'../types'
;
/** * Get the type of a node *
@param
{
Node
} node The schema node to get the type for */
export
declare
const
nodeType
:
(
node
:
Node
) =>
string
;