模块Typeorm没有导出的memebers MigrationInterface和QueryRunner
我使用npx migrate:create-n测试创建了一个迁移文件 但当我打开它时,它的顶部有以下内容模块Typeorm没有导出的memebers MigrationInterface和QueryRunner,migration,nestjs,typeorm,Migration,Nestjs,Typeorm,我使用npx migrate:create-n测试创建了一个迁移文件 但当我打开它时,它的顶部有以下内容 import {MigrationInterface, QueryRunner} from '@nestjs/typeorm'; 它显示了以下错误 Module '"../../node_modules/@nestjs/typeorm"' has no exported member 'QueryRunner'. 同样对于MigrationInterface我认为i
import {MigrationInterface, QueryRunner} from '@nestjs/typeorm';
它显示了以下错误
Module '"../../node_modules/@nestjs/typeorm"' has no exported member 'QueryRunner'.
同样对于
MigrationInterface
我认为import
语句是有线的,应该import{MigrationInterface,QueryRunner}从'typeorm'
?是的,谢谢