Skip to content

Commit bd20ccd

Browse files
committed
Resolve problem with schematics
1 parent c405a0f commit bd20ccd

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

projects/mdb-angular-ui-kit/schematics/ng-add/mdb-setup.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ const mdbModules = [
3333
// tslint:disable-next-line: space-before-function-paren
3434
export default function (options: Schema): any {
3535
return async (tree: Tree) => {
36-
const workspace = await getWorkspace(tree);
36+
const workspace: any = await getWorkspace(tree);
3737
const project = getProjectFromWorkspace(workspace, options.project);
3838

3939
if (project.extensions.projectType === ProjectType.Application) {
@@ -117,7 +117,7 @@ function addRobotoFontToIndexHtml(options: Schema): any {
117117

118118
function addStylesImports(options: Schema): any {
119119
return async (host: Tree, context: SchematicContext) => {
120-
const workspace = await getWorkspace(host);
120+
const workspace: any = await getWorkspace(host);
121121
const project = getProjectFromWorkspace(workspace, options.project);
122122
const logger = context.logger;
123123
const styleFilePath = getProjectStyleFile(project);

0 commit comments

Comments
 (0)