File tree Expand file tree Collapse file tree 4 files changed +4
-10
lines changed Expand file tree Collapse file tree 4 files changed +4
-10
lines changed Original file line number Diff line number Diff line change @@ -43,7 +43,7 @@ default_1.values = {
43
43
fadeOutClass : { type : String , default : 'typed-fade-out' } ,
44
44
fadeOutDelay : { type : Number , default : 500 } ,
45
45
loop : Boolean ,
46
- loopCount : { type : Number , default : Infinity } ,
46
+ loopCount : { type : Number , default : Number . POSITIVE_INFINITY } ,
47
47
showCursor : { type : Boolean , default : true } ,
48
48
cursorChar : { type : String , default : '.' } ,
49
49
autoInsertCss : { type : Boolean , default : true } ,
Original file line number Diff line number Diff line change 7
7
* file that was distributed with this source code.
8
8
*/
9
9
10
- 'use strict' ;
11
-
12
10
import { Controller } from '@hotwired/stimulus' ;
13
11
import Typed from 'typed.js' ;
14
12
@@ -25,7 +23,7 @@ export default class extends Controller {
25
23
fadeOutClass : { type : String , default : 'typed-fade-out' } ,
26
24
fadeOutDelay : { type : Number , default : 500 } ,
27
25
loop : Boolean ,
28
- loopCount : { type : Number , default : Infinity } ,
26
+ loopCount : { type : Number , default : Number . POSITIVE_INFINITY } ,
29
27
showCursor : { type : Boolean , default : true } ,
30
28
cursorChar : { type : String , default : '.' } ,
31
29
autoInsertCss : { type : Boolean , default : true } ,
Original file line number Diff line number Diff line change 7
7
* file that was distributed with this source code.
8
8
*/
9
9
10
- 'use strict' ;
11
-
12
10
import { Application , Controller } from '@hotwired/stimulus' ;
13
11
import { getByTestId , waitFor } from '@testing-library/dom' ;
14
12
import { clearDOM , mountDOM } from '@symfony/stimulus-testing' ;
@@ -33,7 +31,7 @@ const startStimulus = () => {
33
31
} ;
34
32
35
33
describe ( 'TypedController' , ( ) => {
36
- let container ;
34
+ let container : HTMLElement ;
37
35
38
36
beforeEach ( ( ) => {
39
37
container = mountDOM ( `
Original file line number Diff line number Diff line change 2
2
"name" : " symfony/ux-typed" ,
3
3
"type" : " symfony-bundle" ,
4
4
"description" : " Typed integration for Symfony" ,
5
- "keywords" : [
6
- " symfony-ux"
7
- ],
5
+ "keywords" : [" symfony-ux" ],
8
6
"homepage" : " https://symfony.com" ,
9
7
"license" : " MIT" ,
10
8
"authors" : [
You can’t perform that action at this time.
0 commit comments