IK
Size: a a a
IK
z
textResponse.data к типу Text ?z
IK
z
textResponse.data as Text это тоже самое?KR
IK
KR
IK
KR
IK
IK
KR
IK
KR
interface Foo {
foo: string
}
interface Bar {
bar: string
}
type FooBar = Foo | Bar
function isFoo(foobar: FooBar): foobar is Foo {
return typeof ((foobar as Foo).foo) === 'string'
}MK
A
A
IK
A