import RegExp from "typescript-dotnet-commonjs/System/Text/RegularExpressions";
@Injectable()
export class TokenInterceptor implements HttpInterceptor {
private whiteList = [
new RegExp('http://localhost:8081/app2/oauth-server/oauth/token',
new RegExp('http://localhost:8082/app/oauth-resource/ibex/api/signup'),
new RegExp('http://localhost:8082/app/oauth-resource/ibex/api/registeration/confirm/.*'),
new RegExp('http://localhost:8082/app/oauth-resource/ibex/api/user/profile/upload'),
new RegExp('http://localhost:8082/app/oauth-resource/ibex/api/profile/edit/password/.*')
]}
Импорт не работает.Он говорит, что не может найти модуль.