Skip to content

josephharrington/demo-proto-import-issue

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

demo-proto-import-issue

Execute:

git clone https://github.com/josephharrington/demo-proto-import-issue.git
cd demo-proto-import-issue
npm install && npm run build

tsc output:

src/index.ts:6:17 - error TS2339: Property 'HissRequest' does not exist on type 'typeof import("/Users/jharrington/code/demo-proto-import-issue/src/generated/main_pb")'.

6 assert(messages.HissRequest);
                  ~~~~~~~~~~~

node dist/index.js output:

Ok!