Prettier: Ignore union type mismatch fix
Otherwise it puts the any in its new line which is a lot of wasted space and just looks weird
This commit is contained in:
parent
0f226bfa93
commit
0b8e480626
1 changed files with 2 additions and 3 deletions
|
@ -47,9 +47,8 @@ export function initDocs(app: express.Express) {
|
|||
});
|
||||
|
||||
app.get("/docs/plugins/:pluginName", (req: express.Request, res: express.Response) => {
|
||||
const plugin = docsPlugins.find(obj => getPluginName(obj) === req.params.pluginName) as ZeppelinPluginBlueprint<
|
||||
any
|
||||
>;
|
||||
// prettier-ignore
|
||||
const plugin = docsPlugins.find(obj => getPluginName(obj) === req.params.pluginName) as ZeppelinPluginBlueprint<any>;
|
||||
if (!plugin) {
|
||||
return notFound(res);
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue