mirror of
https://github.com/wassname/DefinitelyTyped.git
synced 2026-08-30 11:14:27 +08:00
fix intro.js
This commit is contained in:
@@ -9,11 +9,11 @@ intro.setOptions({
|
||||
intro: "Hello world!"
|
||||
},
|
||||
{
|
||||
element: document.querySelector('#step1'),
|
||||
element: document.querySelector('#step1') as HTMLElement,
|
||||
intro : "This is a tooltip."
|
||||
},
|
||||
{
|
||||
element : document.querySelectorAll('#step2')[0],
|
||||
element : document.querySelectorAll('#step2')[0] as HTMLElement,
|
||||
intro : "Ok, wasn't that fun?",
|
||||
position: 'right'
|
||||
},
|
||||
|
||||
Vendored
+1
-1
@@ -14,7 +14,7 @@ declare module IntroJs {
|
||||
interface Step {
|
||||
intro: string;
|
||||
element?: string|HTMLElement;
|
||||
position?: Positions;
|
||||
position?: string|Positions;
|
||||
}
|
||||
|
||||
interface Options {
|
||||
|
||||
Reference in New Issue
Block a user