Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

NodeJs compile error - Exports and export assignments are not permitted in module augmentations #18

Closed
Anilkumar18 opened this issue Apr 8, 2020 · 0 comments · Fixed by #22
Assignees

Comments

@Anilkumar18
Copy link

Anilkumar18 commented Apr 8, 2020

node_modules/ml-regression-multivariate-linear/regression-multivariate-linear.d.ts:34:3 - error TS2666: Exports and export assignments are not permitted in module augmentations

export default MultivariateLinearRegression;

tsconfig
{
  "compilerOptions": {
    "module": "commonjs",
    "declaration": false,
    "noImplicitAny": false,
    "removeComments": true,
    "noLib": false,
    "emitDecoratorMetadata": true,
    "experimentalDecorators": true,
    "target": "es6",
    "esModuleInterop":true,
    "allowSyntheticDefaultImports":true,
    "sourceMap": true,
    "allowJs": true,
    "outDir": "./dist",
    "typeRoots": ["./node_modules/@types"],
    "types": ["node"]
  },
  "include": ["src/**/*"],
  "exclude": ["node_modules", "**/*.spec.ts"]
}

package.json :
"ml-regression-multivariate-linear": "^2.0.2"

I could not get passed this error.

@opatiny opatiny self-assigned this Jun 21, 2022
opatiny added a commit that referenced this issue Jun 21, 2022
@targos targos reopened this Jun 21, 2022
opatiny added a commit that referenced this issue Jun 21, 2022
@targos targos closed this as completed in 4cba7a2 Jun 21, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants