File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
feedback/feedbackOnboarding Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -185,7 +185,7 @@ function OnboardingContent({currentProject}: {currentProject: Project}) {
185185 const webApiPlatform = feedbackWebApiPlatforms . includes ( currentPlatform . id ) ;
186186
187187 const npmOnlyFramework = feedbackNpmPlatforms
188- . filter ( p => p !== 'javascript' )
188+ . filter ( ( p ) : p is PlatformKey => p !== 'javascript' )
189189 . includes ( currentPlatform . id ) ;
190190
191191 const showRadioButtons =
Original file line number Diff line number Diff line change @@ -205,7 +205,7 @@ function OnboardingContent({currentProject}: {currentProject: Project}) {
205205 const npmOnlyFramework =
206206 currentProject . platform &&
207207 replayFrontendPlatforms
208- . filter ( p => p !== 'javascript' )
208+ . filter ( ( p ) : p is PlatformKey => p !== 'javascript' )
209209 . includes ( currentProject . platform ) ;
210210
211211 const showRadioButtons =
You can’t perform that action at this time.
0 commit comments