File tree Expand file tree Collapse file tree 2 files changed +6
-3
lines changed Expand file tree Collapse file tree 2 files changed +6
-3
lines changed Original file line number Diff line number Diff line change @@ -12,12 +12,12 @@ export default {
1212 } ,
1313
1414 writeText : console . log ,
15- progress : ( {
15+ progress : {
1616 get : ( ) => {
1717 // empty function
1818 } ,
1919 create : ( ) => {
2020 // empty function
2121 } ,
22- } as unknown ) as Logging [ 'progress' ] ,
22+ } as unknown as Logging [ 'progress' ] ,
2323} as Logging ;
Original file line number Diff line number Diff line change @@ -52,7 +52,10 @@ interface StateType {
5252 Type : string ;
5353}
5454
55- export const isType = ( type : string ) => < T extends StateType > ( state : State | T ) : state is T => state . Type === type ;
55+ export const isType =
56+ ( type : string ) =>
57+ < T extends StateType > ( state : State | T ) : state is T =>
58+ state . Type === type ;
5659
5760export const definitionIsHandler = (
5861 value : Maybe < Serverless . FunctionDefinitionHandler | Serverless . FunctionDefinitionImage >
You can’t perform that action at this time.
0 commit comments