Setup eslint and enforce rules
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
import {ErrorWithContext} from "../../util";
|
||||
import {ResolvedRouteHandler, Route} from "./Route";
|
||||
import {ErrorWithContext} from '../../util'
|
||||
import {ResolvedRouteHandler, Route} from './Route'
|
||||
|
||||
/**
|
||||
* Class representing a resolved route that a request is mounted to.
|
||||
@@ -42,7 +42,7 @@ export class ActivatedRoute {
|
||||
public readonly route: Route,
|
||||
|
||||
/** The request path that activated that route. */
|
||||
public readonly path: string
|
||||
public readonly path: string,
|
||||
) {
|
||||
const params = route.extract(path)
|
||||
if ( !params ) {
|
||||
|
||||
Reference in New Issue
Block a user