refactor: fix typo

This commit is contained in:
Hans 2018-08-06 14:44:33 -07:00
parent c75318b432
commit 2a3237655e

View File

@ -6,7 +6,7 @@
* found in the LICENSE file at https://angular.io/license
*/
import { JsonObject, JsonValue, parseJson } from '@angular-devkit/core';
import * as jsonSchemaTravese from 'json-schema-traverse';
import * as jsonSchemaTraverse from 'json-schema-traverse';
import { Option, OptionSmartDefault } from './command';
export async function convertSchemaToOptions(schema: string): Promise<Option[]> {
@ -86,7 +86,7 @@ function getOptions(schemaText: string, onlyRootProperties = true): Promise<Opti
const callbacks = { post: postCallback };
jsonSchemaTravese(<object> fullSchema, traverseOptions, callbacks);
jsonSchemaTraverse(<object> fullSchema, traverseOptions, callbacks);
});
}