You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It seems that although the documentation claims support for Angular 5+, when trying to compile versions 1.0.1-1.0.6, there are many compilation errors.
[01:53:53] typescript: ...picker/components/parts/color-preset-sublist/color-preset-sublist.animation.d.ts, line: 1
Property 'AnimationTriggerMetadata' does not exist on type '"@angular/animations/src/animation_metadata"'.
[01:53:53] typescript: ...picker/components/parts/color-preset-sublist/color-preset-sublist.animation.d.ts, line: 2
Property 'AnimationTriggerMetadata' does not exist on type '"@angular/animations/src/animation_metadata"'.
[01:53:53] typescript: ...ab/ngx-color-picker/components/parts/inputs/hsla-input/hsla-input.component.d.ts, line: 12
Property 'Hsla' does not exist on type '"../../../../helpers/hsla.class"'.
[01:53:53] typescript: ...ab/ngx-color-picker/components/parts/inputs/rgba-input/rgba-input.component.d.ts, line: 12
Property 'Rgba' does not exist on type '"../../../../helpers/rgba.class"'.
[01:53:53] typescript: ...m-working.camera/node_modules/@iplab/ngx-color-picker/helpers/control.class.d.ts, line: 23
Property 'Observable' does not exist on type '"rxjs/internal/Observable"'.
Hi @mydoal, can you provide me with a package.json for review to see if anything is missing, perhaps you missed including the Angular animation module? Which TypeScript version do you use?
It seems that although the documentation claims support for Angular 5+, when trying to compile versions 1.0.1-1.0.6, there are many compilation errors.
[01:53:53] typescript: ...picker/components/parts/color-preset-sublist/color-preset-sublist.animation.d.ts, line: 1
'=' expected.
[01:53:53] typescript: ...picker/components/parts/color-preset-sublist/color-preset-sublist.animation.d.ts, line: 2
'=' expected.
[01:53:53] typescript: ...ab/ngx-color-picker/components/parts/inputs/hsla-input/hsla-input.component.d.ts, line: 12
'=' expected.
[01:53:53] typescript: ...ab/ngx-color-picker/components/parts/inputs/rgba-input/rgba-input.component.d.ts, line: 12
'=' expected.
[01:53:53] typescript: ...m-working.camera/node_modules/@iplab/ngx-color-picker/helpers/control.class.d.ts, line: 23
'=' expected.
[01:53:53] typescript: ...m-working.camera/node_modules/@iplab/ngx-color-picker/helpers/control.class.d.ts, line: 23
'(' expected.
[01:53:53] typescript: ...picker/components/parts/color-preset-sublist/color-preset-sublist.animation.d.ts, line: 1
Cannot find name 'import'.
[01:53:53] typescript: ...picker/components/parts/color-preset-sublist/color-preset-sublist.animation.d.ts, line: 1
Property 'AnimationTriggerMetadata' does not exist on type '"@angular/animations/src/animation_metadata"'.
[01:53:53] typescript: ...picker/components/parts/color-preset-sublist/color-preset-sublist.animation.d.ts, line: 2
Cannot find name 'import'.
[01:53:53] typescript: ...picker/components/parts/color-preset-sublist/color-preset-sublist.animation.d.ts, line: 2
Property 'AnimationTriggerMetadata' does not exist on type '"@angular/animations/src/animation_metadata"'.
[01:53:53] typescript: ...ab/ngx-color-picker/components/parts/inputs/hsla-input/hsla-input.component.d.ts, line: 12
Cannot find name 'import'.
[01:53:53] typescript: ...ab/ngx-color-picker/components/parts/inputs/hsla-input/hsla-input.component.d.ts, line: 12
Property 'Hsla' does not exist on type '"../../../../helpers/hsla.class"'.
[01:53:53] typescript: ...ab/ngx-color-picker/components/parts/inputs/rgba-input/rgba-input.component.d.ts, line: 12
Cannot find name 'import'.
[01:53:53] typescript: ...ab/ngx-color-picker/components/parts/inputs/rgba-input/rgba-input.component.d.ts, line: 12
Property 'Rgba' does not exist on type '"../../../../helpers/rgba.class"'.
[01:53:53] typescript: ...m-working.camera/node_modules/@iplab/ngx-color-picker/helpers/control.class.d.ts, line: 23
Cannot find name 'import'.
[01:53:53] typescript: ...m-working.camera/node_modules/@iplab/ngx-color-picker/helpers/control.class.d.ts, line: 23
Property 'Observable' does not exist on type '"rxjs/internal/Observable"'.
The text was updated successfully, but these errors were encountered: