Add descriptions to types/flow
This commit is contained in:
parent
118ac2e62d
commit
01ea72790d
@ -16,7 +16,7 @@ export function createUnionTypeAnnotation(types) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Description
|
* Dedupe type annotations.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
export function removeTypeDuplicates(nodes) {
|
export function removeTypeDuplicates(nodes) {
|
||||||
@ -96,7 +96,7 @@ export function removeTypeDuplicates(nodes) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Description
|
* Create a type anotation based on typeof expression.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
export function createTypeAnnotationBasedOnTypeof(type) {
|
export function createTypeAnnotationBasedOnTypeof(type) {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user