diff --git a/src/api/helpers/generateWrappers.js b/src/api/helpers/generateWrappers.js
index <HASH>..<HASH> 100644
--- a/src/api/helpers/generateWrappers.js
+++ b/src/api/helpers/generateWrappers.js
@@ -32,7 +32,7 @@ function generateWrappers(cls, types, prefixMap, metadata) {
     } = func;
 
     // Don't parse deprecated APIs
-    if (deprecatedSince === '1') {
+    if (deprecatedSince <= 2) {
       return;
     }
Fix ignore deprecated methods (ignore since 2)