-
Notifications
You must be signed in to change notification settings - Fork 25
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
feat: javascript and typescript migrations #181
Conversation
Just trying this... TypeScript support is not working:
|
Would also like to use ES module imports, eg: import type { DatabasePoolConnectionType, SqlTaggedTemplateType } from 'slonik';
import { createPool } from 'slonik'; These are also not working:
My |
Anyway, going to use JavaScript for now. |
You probably need ts-node. See the "JavaScript and TypeScript migrations" section of the readme:
|
Ah ok, yeah that's a bit much, maybe at some point later... |
fixes #45 and #141