Skip to content

Typing for QTable @request #13960

Discussion options

You must be logged in to vote

QTableProps['onRequest'] type is for the function itself, not just for its parameter. The correct way is to do this:

import type { QTableProps } from 'quasar';

const onRequest: QTableProps['onRequest'] = ({ pagination, filter, getCellValue }) => {
  // ...
}

Replies: 2 comments 3 replies

Comment options

You must be logged in to vote
3 replies
@alitalaghat
Comment options

@yusufkandemir
Comment options

@alitalaghat
Comment options

Answer selected by alitalaghat
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
3 participants