Skip to content

Commit

Permalink
fix: correct impl interface CanUpdateErrorState
Browse files Browse the repository at this point in the history
  • Loading branch information
pimenovoleg committed Feb 25, 2019
1 parent 5b9e9fa commit c6a8426
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/lib/textarea/textarea.component.ts
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@ export const McTextareaMixinBase: CanUpdateErrorStateCtor & typeof McTextareaBas
'[class.mc-textarea-resizable]': '!canGrow',
'[attr.id]': 'id',
'[attr.placeholder]': 'placeholder',
'[attr.aria-invalid]': 'errorState',
'[disabled]': 'disabled',
'[required]': 'required',
'(blur)': 'focusChanged(false)',
Expand Down
1 change: 1 addition & 0 deletions src/lib/timepicker/timepicker.ts
Original file line number Diff line number Diff line change
Expand Up @@ -95,6 +95,7 @@ export const McTimepickerMixinBase:
'[attr.min-time]': 'minTime',
'[attr.max-time]': 'maxTime',
'[attr.value]': 'value',
'[attr.aria-invalid]': 'errorState',
'(blur)': 'onBlur()',
'(focus)': 'focusChanged(true)',
'(input)': 'onInput()',
Expand Down
2 changes: 2 additions & 0 deletions tools/packages/build-release.ts
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,8 @@ export function composeRelease(buildPackage: BuildPackage) {
}

if (buildPackage.exportsSecondaryEntryPointsAtRoot) {
// Add re-exports to the root d.ts file to prevent errors of the form
// "@ptsecurity/mosaic/mosaic has no exported member 'MC_SANITY_CHECKS."
const es2015Exports = buildPackage.secondaryEntryPoints
.map((p) => `export * from './${p}';`).join('\n');
appendFileSync(join(releasePath, `${name}.d.ts`), es2015Exports, 'utf-8');
Expand Down

0 comments on commit c6a8426

Please sign in to comment.