Interactive Angular 19 demo for @sda/notification-elements-ui with 6 sections: Bell & Feed, Notification Center, Inbox, Comments & Threads, Mention Input, and Full-Featured layout. Includes mock data, dark mode toggle, and real-time event log. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
32 lines
504 B
TypeScript
32 lines
504 B
TypeScript
/**
|
|
Check if a path exists.
|
|
|
|
@returns Whether the path exists.
|
|
|
|
@example
|
|
```
|
|
// foo.ts
|
|
import {pathExists} from 'path-exists';
|
|
|
|
console.log(await pathExists('foo.ts'));
|
|
//=> true
|
|
```
|
|
*/
|
|
export function pathExists(path: string): Promise<boolean>;
|
|
|
|
/**
|
|
Synchronously check if a path exists.
|
|
|
|
@returns Whether the path exists.
|
|
|
|
@example
|
|
```
|
|
// foo.ts
|
|
import {pathExistsSync} from 'path-exists';
|
|
|
|
console.log(pathExistsSync('foo.ts'));
|
|
//=> true
|
|
```
|
|
*/
|
|
export function pathExistsSync(path: string): boolean;
|