chore(core): cleanup and replace const with function
Signed-off-by: braks <78412429+bcakmakoglu@users.noreply.github.com>
This commit is contained in:
@@ -6,7 +6,7 @@ export class VueFlowError extends Error {
|
||||
}
|
||||
}
|
||||
|
||||
export const warn = (message: string, ...args: any[]) => {
|
||||
export function warn(message: string, ...args: any[]) {
|
||||
if (!productionEnvs.includes(__ENV__ || '')) {
|
||||
console.warn(`[Vue Flow]: ${message}`, ...args)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user