UNPKG
tsutils
Version:
latest (3.21.0)
3.21.0
3.20.0
3.19.1
3.19.0
3.18.0
3.17.1
3.17.0
3.16.0
3.15.0
3.14.1
3.14.0
3.13.0
3.12.0
3.11.0
3.10.0
3.9.1
3.9.0
3.8.0
3.7.0
3.6.0
3.5.2
3.5.1
3.5.0
3.4.0
3.3.1
3.3.0
3.2.0
3.1.0
3.0.0
2.29.0
2.28.0
2.27.2
2.27.1
2.27.0
2.26.2
2.26.1
2.26.0
2.25.1
2.25.0
2.24.0
2.23.0
2.22.2
2.22.1
2.22.0
2.21.2
2.21.1
2.21.0
2.20.0
2.19.1
2.19.0
2.18.0
2.17.1
2.17.0
2.16.0
2.15.0
2.14.0
2.13.1
2.13.0
2.12.2
2.12.1
2.12.0
2.11.2
2.11.1
2.11.0
2.10.0
2.9.0
2.8.2
2.8.1
2.8.0
2.7.1
2.7.0
2.6.1
2.6.0
2.5.1
2.5.0
2.4.0
2.3.0
2.2.0
2.1.0
2.0.0
1.9.1
1.9.0
1.8.0
1.7.0
1.6.0
1.5.0
1.4.0
1.3.0
1.2.2
1.2.1
1.2.0
1.1.0
1.0.0
1.0.0-rc0
utilities for working with typescript's AST
github.com/ajafff/tsutils
ajafff/tsutils
tsutils
/
typeguard
/
3.0
/
type.d.ts
7 lines
(6 loc)
•
262 B
TypeScript
View Raw
1
2
3
4
5
6
7
export
*
from
'../2.9/type'
;
import
*
as
ts
from
'typescript'
;
export
declare
function
isTupleType
(
type
: ts.
Type
):
type
is ts.
TupleType
;
export
declare
function
isTupleTypeReference
(
type
: ts.
Type
):
type
is ts.
TypeReference
& {
target
: ts.
TupleType
; };