Skip to content

Commit

Permalink
type fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
jattasNI committed May 29, 2024
1 parent 0aeac57 commit a7185b0
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions packages/nimble-components/src/banner-lit/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,8 @@ import {
ARIAGlobalStatesAndProperties
} from '@microsoft/fast-foundation';
import { CSSResult, LitElement, TemplateResult } from 'lit';
import { property } from 'lit/decorators';
// eslint-disable-next-line import/extensions
import { property } from 'lit/decorators.js';
import { styles } from './styles';
import { template } from './template';
import { BannerSeverityLit, BannerLitToggleEventDetail } from './types';
Expand All @@ -25,7 +26,7 @@ export class BannerLit extends LitElement {
* @description
* Whether the banner is visible or not
*/
@property()
@property({ type: Boolean })
public open = false;

/**
Expand All @@ -41,15 +42,15 @@ export class BannerLit extends LitElement {
* @description
* Whether the banner title is hidden
*/
@property({ attribute: 'title-hidden' })
@property({ attribute: 'title-hidden', type: Boolean })
public titleHidden = false;

/**
* @public
* @description
* Hides the dismiss button
*/
@property({ attribute: 'prevent-dismiss' })
@property({ attribute: 'prevent-dismiss', type: Boolean })
public preventDismiss = false;

/**
Expand Down

0 comments on commit a7185b0

Please sign in to comment.