Snippet of code:
client.ft.SEARCH('license-index-json',"@\\$\\" + ".reservedForApplicationName:GSTest",{
LIMIT: {
from: 0,
to: 1
}
})
Error message:
An error occurred when trying to assign the argument '["license-index-json", string, { LIMIT: { from: number; to: number; }; }]' to a parameter with type '[index: string, query: string, options?: SearchOptions] | [options: CommandOptions, index: string, query: string, options?: SearchOptions]'. The specified types are not compatible and result in errors. Please refer to the screenshot for more details: https://i.sstatic.net/3ySBb.png