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

TypeScript compiler error in .d.ts files after upgrading to 16.0.0 #2168

Closed
UselessPickles opened this issue Jan 25, 2018 · 8 comments
Closed

Comments

@UselessPickles
Copy link

UselessPickles commented Jan 25, 2018

I'm submitting a ... (check one with "x")

[x] bug report => search github for a similar issue or PR before submitting
[ ] feature request
[ ] support request => Please do not submit support request here, instead see https://github.com/ceolter/ag-grid/blob/master/CONTRIBUTING.md#question

Current behavior

When trying to compile my TypeScript project with ag-grid 16.0.0, I get the following compile errors. This appears to be specific to ag-grid-enterprise.

node_modules/ag-grid-enterprise/main.d.ts(35,15): error TS2307: Cannot find module './dist/lib/toolPanel/columnsSelect/columnSelectPanel'.

35 export * from './dist/lib/toolPanel/columnsSelect/columnSelectPanel';
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

node_modules/ag-grid-enterprise/main.d.ts(36,15): error TS2307: Cannot find module './dist/lib/toolPanel/columnsSelect/renderedColumn'.

36 export * from './dist/lib/toolPanel/columnsSelect/renderedColumn';
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

node_modules/ag-grid-enterprise/main.d.ts(37,15): error TS2307: Cannot find module './dist/lib/toolPanel/columnsSelect/renderedGroup'.

37 export * from './dist/lib/toolPanel/columnsSelect/renderedGroup';
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Expected behavior
No compiler errors.

Minimal reproduction of the problem with instructions
Try to compile a TypeScript project that includes ag-grid 16.0.0 and ag-grid-enterprise 16.0.0.

What is the motivation / use case for changing the behavior?
I want to use ag-grid 16.0.0, but cannot use it if it does not compile.

Please tell us about your environment:
Mac OSX
NPM
TypeScript 2.6.2

  • ag-Grid version: 16.0.0

  • Browser:
    Irrelevant

  • Language: TypeScript 2.6.2

@ijaouani
Copy link

+1

1 similar comment
@goncalolucas
Copy link

+1

@nite
Copy link

nite commented Jan 29, 2018

another +1 - node 9, linux, ts 2.6.1

@fedeee
Copy link

fedeee commented Jan 29, 2018

Same problem here using :
angular 4.4.6
@angular/cli: 1.4.4
node: 6.9.1
typescript: 2.1.4

@9marta5
Copy link

9marta5 commented Jan 31, 2018

+1

@joefeser
Copy link

Also broken with angular cli 1.5.6

@Framus
Copy link

Framus commented Feb 26, 2018

This seems to be fixed in 16.0.1

@petyosi
Copy link
Contributor

petyosi commented Mar 6, 2018

The problem was fixed in 16.0.1

@petyosi petyosi closed this as completed Mar 6, 2018
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

No branches or pull requests

9 participants