You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Referring botbuilder-lg from another ts project don't work out-of-box.
node_modules/botframework-expressions/lib/commonRegex.d.ts:9:27 - error TS7016: Could not find a declaration file for module 'lru-cache'.
'C:/Users/donglei/code/testg/node_modules/lru-cache/index.js' implicitly has an 'any' type.
Try `npm install @types/lru-cache` if it exists or add a new declaration (.d.ts) file containing `declare module 'lru-cache';`
9 import * as LRUCache from 'lru-cache';
To Reproduce
Steps to reproduce the behavior:
create a new ts project
refer to botbuilder-lg
create an lg file and add code to evaluate it
tsc
Expected behavior
no errors
Additional context
I can add @types/lru-cache to make it work, but i should not manually added another package it don't use directly.
[bug]
The text was updated successfully, but these errors were encountered:
Versions
4.future 10/25
Describe the bug
Referring botbuilder-lg from another ts project don't work out-of-box.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
no errors
Additional context
I can add @types/lru-cache to make it work, but i should not manually added another package it don't use directly.
[bug]
The text was updated successfully, but these errors were encountered: