We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent af659d1 commit a1ca37bCopy full SHA for a1ca37b
src/index.spec.ts
@@ -0,0 +1,6 @@
1
+/* eslint-disable @typescript-eslint/tslint/config */
2
+import * as lib from './index';
3
+
4
+it('smoke', () => {
5
+ expect(lib).toBeTruthy();
6
+});
src/index.ts
@@ -0,0 +1,24 @@
+import { PlainObject } from 'simplytyped';
+const dict: PlainObject = {};
+/**
+ * Hello function whithout parameter
7
+ * @returns result string
8
+ */
9
+export function hello(): string;
10
11
12
+ * This is hello function
13
14
15
+export function hello(greet?: string) {
16
+ return `${greet} world`;
17
+}
18
19
+export class X {
20
21
+ constructor(
22
+ private readonly o: PlainObject,
23
+ ) { }
24
0 commit comments