diff options
Diffstat (limited to 'school/node_modules/graphql/jsutils/printPathArray.js.flow')
-rw-r--r-- | school/node_modules/graphql/jsutils/printPathArray.js.flow | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/school/node_modules/graphql/jsutils/printPathArray.js.flow b/school/node_modules/graphql/jsutils/printPathArray.js.flow deleted file mode 100644 index 552a415..0000000 --- a/school/node_modules/graphql/jsutils/printPathArray.js.flow +++ /dev/null @@ -1,13 +0,0 @@ -// @flow strict -/** - * Build a string describing the path. - */ -export default function printPathArray( - path: $ReadOnlyArray<string | number>, -): string { - return path - .map((key) => - typeof key === 'number' ? '[' + key.toString() + ']' : '.' + key, - ) - .join(''); -} |