aboutsummaryrefslogtreecommitdiff
path: root/src/extensions/General/ExtensionsTypings.ts
diff options
context:
space:
mode:
authoralyssaf16 <alyssa_feinberg@brown.edu>2024-08-30 22:34:32 -0400
committeralyssaf16 <alyssa_feinberg@brown.edu>2024-08-30 22:34:32 -0400
commit31e04bbd49825bf56c30cb50397a15c5df53c7a8 (patch)
tree869c659dd4d1713ee04c1115374facb11e472674 /src/extensions/General/ExtensionsTypings.ts
parent72278f68f0333fd75ff090ea62c296973dce84ba (diff)
clean up comparison box
Diffstat (limited to 'src/extensions/General/ExtensionsTypings.ts')
-rw-r--r--src/extensions/General/ExtensionsTypings.ts8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/extensions/General/ExtensionsTypings.ts b/src/extensions/General/ExtensionsTypings.ts
new file mode 100644
index 000000000..370157ed0
--- /dev/null
+++ b/src/extensions/General/ExtensionsTypings.ts
@@ -0,0 +1,8 @@
+interface Array<T> {
+ lastElement(): T;
+}
+
+interface String {
+ removeTrailingNewlines(): string;
+ hasNewline(): boolean;
+} \ No newline at end of file