Skip to content

Instantly share code, notes, and snippets.

@hexsprite
Created October 17, 2017 22:11
Show Gist options
  • Save hexsprite/764e5e094d9ecee30cffce0bcaf1b1cd to your computer and use it in GitHub Desktop.
Save hexsprite/764e5e094d9ecee30cffce0bcaf1b1cd to your computer and use it in GitHub Desktop.
typescript config
{
"compilerOptions": {
"baseUrl": ".",
"paths": {
"/imports/*": "./*"
}
}
}
---
======== Resolving module '/imports/imports/logging' from '/Users/jbb/co/focuster/test.ts'. ========
24 Module resolution kind is not specified, using 'NodeJs'.
* 25 Loading module as file / folder, candidate module location '/imports/imports/logging', target file type 'TypeScript'.
26 Directory '/imports/imports' does not exist, skipping all lookups in it.
* 27 Loading module as file / folder, candidate module location '/imports/imports/logging', target file type 'JavaScript'.
28 Directory '/imports/imports' does not exist, skipping all lookups in it.
* 29 ======== Module name '/imports/imports/logging' was not resolved. ========
---
//test.ts
import { Meteor } from 'meteor/meteor'
import { BlazeComponent } from 'meteor/peerlibrary:blaze-components'
import { logger } from '/imports/imports/logging'
const s = 1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment