Skip to content

Commit

Permalink
Improved config type.
Browse files Browse the repository at this point in the history
  • Loading branch information
zorkow committed Apr 8, 2020
1 parent 5c453d3 commit b4c2ef7
Showing 1 changed file with 11 additions and 2 deletions.
13 changes: 11 additions & 2 deletions ts/a11y/sre_browser.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,16 @@ declare namespace sre.ClearspeakPreferences {
}

declare namespace SRE {
type config = {
locale?: string,
modality?: string,
domain?: string,
style?: string,
markup?: string,
speech?: string,
semantics?: boolean
};
export function toEnriched(mml: string): void;
export function setupEngine(obj: any): void;
export function engineSetup(): any;
export function setupEngine(obj: config): void;
export function engineSetup(): config;
}

0 comments on commit b4c2ef7

Please sign in to comment.