File tree Expand file tree Collapse file tree 1 file changed +2
-4
lines changed
packages/template-typescript-minimal/app Expand file tree Collapse file tree 1 file changed +2
-4
lines changed Original file line number Diff line number Diff line change 44 * SPDX-License-Identifier: BSD-3-Clause
55 * For full license text, see the LICENSE file in the repo root or https://opensource.org/licenses/BSD-3-Clause
66 */
7- import loadable , { LoadableComponent } from '@loadable/component'
7+ import loadable from '@loadable/component'
88
99const Home = loadable ( ( ) => import ( './pages/home' ) )
1010
1111const routes = [
1212 {
1313 path : '/__pwa-kit/start' ,
1414 exact : true ,
15- // Type assertion because otherwise we encounter this error:
16- // Exported variable 'routes' has or is using name 'Props' from external module "./app/pages/home" but cannot be named.
17- component : Home as LoadableComponent < unknown >
15+ component : Home
1816 }
1917]
2018
You can’t perform that action at this time.
0 commit comments