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

Predicate NextJS::nextRouter

Gets a reference to a Next.js router.

Import path

import javascript
SourceNode nextRouter()