Files
shoelace/src/declaration.d.ts
Bünyamin Eskiocak a706e69be6 Added stepUp, stepDown and showPicker functions (#1013)
* added stepUp and stepDown to sl-range

* step function & default props tests for sl-range

* stepUp, stepDown & showPicker functions for input

* step functions & default props tests for sl-input

* made name and placeholder default to empty string

* updated changelog

Co-authored-by: Cory LaViska <cory@abeautifulsite.net>
2022-11-21 12:41:09 -05:00

17 lines
414 B
TypeScript

declare module '*.css' {
const styles: string;
export default styles;
}
declare namespace Chai {
interface Assertion {
// chai-a11y-axe returns a promise-like object and should be awaited but the types are incorrect
// eslint-disable-next-line @typescript-eslint/ban-types
accessible: (options?: Object) => PromiseLike<Assertion>;
}
}
interface HTMLInputElement {
showPicker: () => void;
}