mirror of
https://github.com/supabase/supabase.git
synced 2026-05-07 17:30:25 -04:00
436bdb10ae
* Move all studio files from /studio to /apps/studio. * Move studio specific prettier ignores. * Fix the ui references from studio. * Fix the css imports. * Fix all package.json issues. * Fix the prettier setup for the studio app. * Add .turbo folder to prettierignore. * Fix the github workflows.
6 lines
175 B
TypeScript
6 lines
175 B
TypeScript
export function isError(error: unknown): error is Error {
|
|
return (
|
|
!!error && typeof error === 'object' && 'message' in error && typeof error.message === 'string'
|
|
)
|
|
}
|