on 11-19-2021 11:44 AM
Q: As Tobias asked in the chat of https://www.youtube.com/watch?v=WTOOse-Flj8: When are we going to see typings for cds.test?
A: First of all: yes, our typings are usually lacking behind a bit, sorry ( → we need help 🙂
But you can usually apply this as a workaround:
Do this:
const cds = require('@sap/cds/lib')
cds.test //> you'll get code completion
Instead of:
const cds = require('@sap/cds')
cds.test //> you don't get code completion for that today
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
80 | |
9 | |
9 | |
7 | |
7 | |
6 | |
6 | |
6 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.