CodeQL library for JavaScript/TypeScript
codeql/javascript-all 0.8.8 (changelog, source)
Search

Predicate NextJS::nextRouter

Gets a reference to a Next.js router.

Import path

import javascript
SourceNode nextRouter()