kevinoleary19 / Angular-2-Datepicker

A minimalist datepicker inspired by Google's material design
70 stars 71 forks source link

tsc --noUnusedLocals: error TS6133: 'state' is declared but never used. #78

Open ericfrancis opened 7 years ago

ericfrancis commented 7 years ago

Hello,

When I run tsc --noUnusedLocals I get these two errors:

../node_modules/angular2-material-datepicker/src/datepicker.component.ts(3,43): error TS6133: 'state' is declared but never used.
../node_modules/angular2-material-datepicker/src/datepicker.component.ts(312,23): error TS6138: Property 'renderer' is declared but never used.
// package.json
"angular2-material-datepicker": "^0.5.0",

Importing like so:

import { DatepickerModule } from 'angular2-material-datepicker';
lesyk-lesyk commented 7 years ago

https://github.com/koleary94/Angular-2-Datepicker/pull/81