mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-03-01 04:02:55 +00:00
* Add definition for AngularJS $aria service. * Add basic test for $aria config() method. * Add dependency on DOM typings * Get angular-aria types linting correctly
8 lines
178 B
TypeScript
8 lines
178 B
TypeScript
function testConfig($aria: angular.aria.IAriaService): void {
|
|
// $ExpectType boolean
|
|
$aria.config('tabindex');
|
|
|
|
// $ExpectError
|
|
$aria.config('unknown-string');
|
|
}
|