Skip to content

Commit

Permalink
💥 src: Updated to latest lit-element and reinstall @material/mwc-button
Browse files Browse the repository at this point in the history
Latest `lit-element` has fixed a known issue where missing types are not
exported thus breaks TS compilation for many users. To learn more about
the issue, please visit lit/lit-element#428.

`@material/mwc-button` has been updated to latest `lit-element` too.
Reinstalled to make the buttons work again!
  • Loading branch information
motss committed Jan 12, 2019
1 parent 5ca1bea commit 9cd429d
Show file tree
Hide file tree
Showing 4 changed files with 115 additions and 56 deletions.
110 changes: 107 additions & 3 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,8 @@
"watch": "npm run -- --watch"
},
"dependencies": {
"lit-element": "^2.0.0-rc.1",
"@material/mwc-button": "^0.3.5",
"lit-element": "^2.0.0-rc.2",
"lit-html": "^1.0.0-rc.2"
},
"devDependencies": {
Expand Down
12 changes: 6 additions & 6 deletions src/app-datepicker.ts
Original file line number Diff line number Diff line change
Expand Up @@ -302,13 +302,13 @@ export class AppDatepicker extends LitElement {
@property({ type: Number })
public dragRatio: number = .15;

@property({ type: String })
// @ts-ignore
public startView: string = 'calendar';
// @property({ type: String })
// // @ts-ignore
// public startView: string = 'calendar';

@property({ type: String })
// @ts-ignore
public value: string;
// @property({ type: String })
// // @ts-ignore
// public value: string;

@property({ type: String })
private _startView: string = 'calendar';
Expand Down
46 changes: 0 additions & 46 deletions src/env.d.ts

This file was deleted.

0 comments on commit 9cd429d

Please sign in to comment.