We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
http://www.js-data.io/v3.0/docs/js-data-http
The code does not compile on TS version 3.1.6:
import { DataStore } from 'js-data'; import { HttpAdapter, addAction } from 'js-data-http'; const store = new DataStore(); const httpAdapter = new HttpAdapter(); store.registerAdapter('http', httpAdapter, { 'default': true }); // Setup action: GET /reports/schools/:school_id/teachers @addAction('getTeacherReports', { pathname: 'teachers', method: 'GET' }); // <---- Error: Declaration expected store.defineMapper('school', { endpoint: 'schools' });
The text was updated successfully, but these errors were encountered:
No branches or pull requests
http://www.js-data.io/v3.0/docs/js-data-http
The code does not compile on TS version 3.1.6:
The text was updated successfully, but these errors were encountered: