@cosmology/ast
Advanced tools
Comparing version 1.8.9 to 1.8.10
@@ -61,2 +61,3 @@ "use strict"; | ||
arg.typeAnnotation = customHookArgumentsType; | ||
arg.optional = true; | ||
const arrowFuncExp = ast.arrowFunctionExpression([arg], callExpression); | ||
@@ -63,0 +64,0 @@ return ast.exportNamedDeclaration(ast.variableDeclaration("const", [ |
@@ -56,2 +56,3 @@ "use strict"; | ||
arg.typeAnnotation = customHookArgumentsType; | ||
arg.optional = true; | ||
const arrowFuncExp = ast.arrowFunctionExpression([arg], callExpression); | ||
@@ -58,0 +59,0 @@ return ast.exportNamedDeclaration(ast.variableDeclaration("const", [ |
@@ -35,2 +35,3 @@ import * as ast from "@babel/types"; | ||
arg.typeAnnotation = customHookArgumentsType; | ||
arg.optional = true; | ||
const arrowFuncExp = ast.arrowFunctionExpression([arg], callExpression); | ||
@@ -37,0 +38,0 @@ return ast.exportNamedDeclaration(ast.variableDeclaration("const", [ |
@@ -30,2 +30,3 @@ import * as ast from "@babel/types"; | ||
arg.typeAnnotation = customHookArgumentsType; | ||
arg.optional = true; | ||
const arrowFuncExp = ast.arrowFunctionExpression([arg], callExpression); | ||
@@ -32,0 +33,0 @@ return ast.exportNamedDeclaration(ast.variableDeclaration("const", [ |
{ | ||
"name": "@cosmology/ast", | ||
"version": "1.8.9", | ||
"version": "1.8.10", | ||
"description": "Cosmos TypeScript AST generation", | ||
@@ -92,3 +92,3 @@ "author": "Dan Lynch <pyramation@gmail.com>", | ||
}, | ||
"gitHead": "47da72d3d7a71b7b3c9ff236eaabccdfffa717c6" | ||
"gitHead": "66c8ded1cc3c974fc8886faff6cf27dceb594acf" | ||
} |
@@ -62,2 +62,3 @@ import * as ast from "@babel/types"; | ||
arg.typeAnnotation = customHookArgumentsType; | ||
arg.optional = true; | ||
const arrowFuncExp = ast.arrowFunctionExpression([arg], callExpression); | ||
@@ -64,0 +65,0 @@ return ast.exportNamedDeclaration( |
@@ -65,2 +65,3 @@ import * as ast from "@babel/types"; | ||
arg.typeAnnotation = customHookArgumentsType; | ||
arg.optional = true; | ||
@@ -67,0 +68,0 @@ const arrowFuncExp = ast.arrowFunctionExpression([arg], callExpression); |
Sorry, the diff of this file is not supported yet
3412262
68650